package com.angel.infrastructure.db.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/*
 * 更新关注微信公众号： 为了offer
 * @author parkin
 * @description
 * @date 2021/11/14
 */
@Getter
@Setter(AccessLevel.PRIVATE)
@TableName("user_info")
public class UserInfoPO {
    @TableId
    private Long userId;
    private String nickName;
    private String headImage;
    private Date createTime;

    private UserInfoPO() {}

    public UserInfoPO(Long id, String nickName,String headImage) {
        this.userId = id;
        this.nickName = nickName;
        this.headImage = headImage;
        createTime = new Date();
    }


}
